<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>卖家-修改个人信息</title>
<link href="<?php echo $this->_webroot('/user/css/common.css'); ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_webroot('/user/css/content1.css'); ?>" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->_webroot('/user/js/jquery-1.7.1.min.js'); ?>" type="text/javascript"></script>
<script src="<?php echo $this->_webroot('/user/js/common.js'); ?>" type="text/javascript"></script>


 
</head>
<body>
<psp:tags     htmlname='user_topnav1'  iconname='usertopnav1' />
<psp:tags     htmlname='user_topsearch'  iconname='usertopsearch' />

<div class="main">
	<div class="main-left">
    	<div class="title">会员管理中心</div>
        <psp:tags     htmlname='user_menulist'  iconname='usermenulist' />
    </div>
<link href="<?php echo $this->_webroot('/user/css/shoprequest.css'); ?>" rel="stylesheet" type="text/css" />   
    <div class="main-right main_right">
	

            <div class="cont">
                <div class="cont_title">查看详情</div>
				
		<div id="reg_step">
			<ol>
				<?php  if($info['order_status']==0) {?>
				<li class=""><span>1、查看购物车</span></li>
				<li class=""><span>2、确认订单信息</span></li>
				<li class=""><span>3、付款到支付宝</span></li>
				<li class=""><span>4、确认收货</span></li>
				<li class=""><span>5、订单已取消</span></li>
				<?php  } elseif($info['order_status']==3) {?>
				<li class=""><strong class="first">1、查看购物车</strong></li>
				<li class=""><span>2、确认订单信息</span></li>
				<li class=""><span>3、付款到支付宝</span></li>
				<li class=""><span>4、确认收货</span></li>
				<li class="current"><span>5、完成交易</span></li>
				<?php  } elseif($info['transport_status']==1){?>
				<li class=""><strong class="first">1、查看购物车</strong></li>
				<li class=""><span>2、确认订单信息</span></li>
				<li class="current"><span>3、付款到支付宝</span></li>
				<li class=""><span>4、确认收货</span></li>
				<li class=""><span>5、完成交易</span></li>
				<?php  } elseif($info['pay_status']==1) {?>
				<li class=""><strong class="first">1、查看购物车</strong></li>
				<li class=""><span>2、确认订单信息</span></li>
				<li class="current"><span>3、付款到支付宝</span></li>
				<li class=""><span>4、确认收货</span></li>
				<li ><span>5、完成交易</span></li>
				<?php  }elseif($info['order_status']==2) {?>
				<li class=""><strong class="first">1、查看购物车</strong></li>
				<li class="current"><span>2、确认订单信息</span></li>
				<li class=""><span>3、付款到支付宝</span></li>
				<li class=""><span>4、确认收货</span></li>
				<li class=""><span>5、完成交易</span></li>
				<?php  } else {?>
				<li class="current"><strong class="first">1、查看购物车</strong></li>
				<li class=""><span>2、确认订单信息</span></li>
				<li class=""><span>3、付款到支付宝</span></li>
				<li class=""><span>4、确认收货</span></li>
				<li class=""><span>5、完成交易</span></li>
				<?php }?>
			</ol>
		</div>
		
		<table width="100%" border="0" cellspacing="0">
			<!--<tr>
				<th style="background:#FFF2E6;" colspan="3" class="">&nbsp;&nbsp;商品信息</th>
			</tr>-->

			<tr>
				<th>商品名称</th>
				<th>商品价格</th>
				<th>购买数量</th>
				<!--<th>运费</th>-->
			</tr>
			<?php foreach($info['order_goods'] as $v){?>
			<tr>
				<td><a href="<?php echo $this->_url('shop/productshow/'.$v['og']['goods_id']);?>" target="_blank" ><?php echo  $v['og']['goods_name'];?></a></td>
				<td style="text-align:center"><?php echo  $v['og']['goods_price'];?>元</td>
				<td style="text-align:center"><?php echo  $v['og']['order_num'];?></td>
			</tr>
			<?php }?>
			<tr>
				<td colspan="3">这次购物需要支付的总价：<span><?php echo  $info['order_amount'];?>+运费：<?php echo $info['transport_price'];?>=<?php echo $info['order_value'];?></span>元</td>
			</tr>
		</table>
        <div class="clear"></div>
		<h3 class="ttlm_02">收货信息</h3>
		<table class="form_table_02" width="100%" border="0" cellspacing="0">
			<!--<tr>
				<th style="background:#FFF2E6;" colspan="2" class="">&nbsp;&nbsp;收货信息</th>
			</tr>-->
			<tr>
				<th width="100px">联系人：</th>
				<td><?php echo  $info['consignee'];?></td>
			</tr>
			<tr>
				<th>详细地址：</th>
				<td><?php echo  $areas[$info['province']];?> <?php echo  $areas[$info['city']];?> <?php echo  $areas[$info['district']];?> <?php echo  $info['address'];?> , 邮编：<?php echo  $info['zipcode'];?></td>
			</tr>
			<tr>
				<th>联系方式：</th>
				<td>手机：<?php echo  $info['mobile'];?> , 电话：<?php echo  $info['telphone'];?></td>
			</tr>
			<!--<tr>
				<th >手机：</th>
				<td><?php echo  $info['mobile'];?></td>
			</tr>
			<tr>
				<th >电话：</th>
				<td><?php echo  $info['telphone'];?></td>
			</tr>
			<tr>
				<th >邮箱：</th>
				<td><?php echo  $info['email'];?></td>
			</tr>
			<tr>
				<th >所在地区：</th>
				<td><?php echo  $areas[$info['province']];?> <?php echo  $areas[$info['city']];?> <?php echo  $areas[$info['district']];?></td>
			</tr>
			<tr>
				<th >详细地址：</th>
				<td><?php echo  $info['address'];?></td>
			</tr>
			<tr>
				<th >邮政编码：</th>
				<td><?php echo  $info['zipcode'];?></td>
			</tr>-->
		</table>		
<div class="clear"></div>
		<h3 class="ttlm_02">物流信息</h3>
		<table class="form_table_02" width="100%" border="0" cellspacing="0">
			<tr>
				<th width="100">物流信息：</th>
				<td><?php echo  $info['transport_content'];?></td>
			</tr>
		</table>		
<div class="clear"></div>
		<h3 class="ttlm_02">发货信息</h3>		
		<table class="form_table_02" width="100%" border="0" cellspacing="0">
			<tr>
				<th width="100">物流公司名称：</th>
				<td><?php echo  $info['shipping_name'];?></td>
			</tr>
			<tr>
				<th>物流发货单号：</th>
				<td><?php echo  $info['shipping_no'];?></td>
			</tr>
			<tr>
				<th>发货运输类型：</th>
				<?php  if($info['transport_type']==1) {?>
				<td>EMS</td>
				<?php  } elseif($info['transport_type']==2) {?>
				<td>平邮</td>
				<?php  } else {?>
				<td>快递</td>
				<?php }?>
			</tr>
			<tr>
				<th>发货时间：</th>
				<td><?php echo  $info['shipping_time'];?></td>
			</tr>
		</table>
	
		<div class="clear"></div>
	<h3 class="ttlm_02">订单详情</h3>
		<table class="form_table_02" width="100%" border="0" cellspacing="0">
		<!--	<tr>
				<th style="background:#FFF2E6;" colspan="2" class="">&nbsp;&nbsp;订单详情</th>
			</tr>-->
			<tr>
				<th width="100px">订单附言：</th>
				<td><?php echo  $info['message'];?></td>
			</tr>
			<tr>
				<th>支付留言:</th>
				<td><?php echo  $info['pay_message'];?></td>
			</tr>
			<tr>
				<th>支付订单号：</th>
				<td><?php echo  $info['trade_no'];?></td>
			</tr>
			<tr>
				<th>下订单时间：</th>
				<td><?php echo  $info['order_time'];?></td>
			</tr>
			<tr>
				<th>支付时间：</th>
				<td><?php echo  $info['pay_time'];?></td>
			</tr>
			<tr>
				<th>收货时间：</th>
				<td><?php echo  $info['receive_time'];?></td>
			</tr>
			<tr>
				<th>操作：</th>
				<td><span class="tr_op">
				<?php if($info['order_status']==1  && $info['pay_status']==0) {?>
					<a href="<?php echo $this->_url('user/userorderdel/?');?>id=<?php echo  $info['id'];?>" onclick="return confirm('确定要取消该订单吗？');">取消订单</a>
					<a href="<?php echo $this->_url('user/paymentmsg/?');?>id=<?php echo  $info['id'];?>">付款</a>
				<?php }?>
				<?php if($info['order_status']==1 && $info['pay_status']==1 &&$info['transport_status']==0) {?>
					<a href="<?php echo $this->_url('user/askbackmoney/?');?>id=<?php echo  $info['id'];?>">申请退款</a>
				<?php }?>
				<?php if($info['order_status']==1  && $info['pay_status']==3) {?>
					<a href="<?php echo $this->_url('user/surebackmoney/?');?>id=<?php echo  $info['id'];?>">确认退款</a>
				<?php }?>
				
				<?php if($info['transport_status']==1 && $info['order_status']==3 && $info['protect_status']==0) {?>
					<a href="<?php echo $this->_url('user/userprotectrights/?');?>order_id=<?php echo  $info['id'];?>">申请维权</a>
				<?php }?>
				
				<?php if($info['protect_status']!=0 && $info['protect_status']!=3) {?>
					<a href="<?php echo $this->_url('user/usercancelprotect/?');?>order_id=<?php echo  $info['id'];?>"><font color="red">结束维权</font></a>
				<?php }?>
				
				<?php if($info['protect_status']==1 || $info['protect_status']==2) {?>
					<a href="<?php echo $this->_url('user/userprotectrights/?');?>order_id=<?php echo  $info['id'];?>"><font color="red">查看维权</font></a>
				<?php }?>
				
				<?php if($info['transport_status']==1 && $info['order_status']==1) {?>
					<a href="<?php echo $this->_url('user/userordercheckget/?');?>order_id=<?php echo  $info['id'];?>"  onclick="return confirm('您购买的商品确认已收到？');">确认收货</a>
					申请维权<br />
				<?php }?>
				<a href="<?php echo $this->_url('user/userorderview/?');?>order_id=<?php echo  $info['id'];?>" title="查看订单详情">查看详情</a>
				<!-- 订单投诉 开始 -->
				<?php   if($info['pay_status']!=0 && $info['pay_status']!=4 && $info['order_status']!=3) {?>
					<?php   if($info['complaint']==0) {?>
					<a href="<?php echo $this->_url('user/complaint/?');?>order_id=<?php echo  $info['id'];?>" >投诉</a>
					<?php }else{?>
					已投诉
					<?php }?>
				<?php }?>
				<!-- 订单投诉 结束 -->
				<!-- 订单评价 开始 -->
				<?php if($info['transport_status']==1 && $info['order_status']==3 && $info['buyer_reply']==0) {?>
					<a href="<?php echo $this->_url('usershop/shopcreditadd/?');?>order_id=<?php echo  $info['id'];?>&t=buyer" >评价</a>
				<?php }else if($info['transport_status']==1 && $info['order_status']==3 && $info['buyer_reply']==1){?>
					已评价
				<?php }?>
				<!-- 订单评价 结束 -->
					</span>
				</td>
			</tr>
		</table>		

			  
			  
            </div>
	
	

        

    </div>
    <div class="clear"></div>
</div>

<div class="footer">
    <psp:tags     htmlname='user_footer_helper'  iconname='userfooterhelper' />

</div>

</body>
</html>